﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    public class SystemBranch:IAggregateRoot
    {
        public int ID { get; set; }

        [MaxLength(20)]
        [Column(TypeName = "varchar")]
        public string BranchName { get; set; }
        [MaxLength(20)]
        [Column(TypeName = "varchar")]
        public string PBranchID { get; set; }

        [MaxLength(20)]
        [Column(TypeName = "varchar")]
        public string BranchLevel { get; set; }

        public int OrderBy { get; set; }
        public bool IsUse { get; set; }
        public int HitCount { get; set; }
    }
}
